package com.lenovo.smarttraffic.bean;

import java.io.Serializable;

/**
 * Created by Caleb.F
 * on 2019-11-20
 * at 11:18
 */
public class ParkExtra implements Serializable {
    private String parkName;
    private String parkAddress;
    private Integer parkDistance;
    private Integer averageRate;
    private Integer wholeParkerCount;
    private Integer leftParkerCount;
    private Integer maxiumRate;
    private String coordinate;

    public ParkExtra(String parkName, String parkAddress, Integer parkDistance, Integer averageRate, Integer wholeParkerCount, Integer leftParkerCount, Integer maxiumRate, String coordinate) {
        this.parkName = parkName;
        this.parkAddress = parkAddress;
        this.parkDistance = parkDistance;
        this.averageRate = averageRate;
        this.wholeParkerCount = wholeParkerCount;
        this.leftParkerCount = leftParkerCount;
        this.maxiumRate = maxiumRate;
        this.coordinate = coordinate;
    }


    public ParkExtra(String parkName, String parkAddress, Integer parkDistance, Integer averageRate, Integer wholeParkerCount, Integer leftParkerCount, Integer maxiumRate) {
        this.parkName = parkName;
        this.parkAddress = parkAddress;
        this.parkDistance = parkDistance;
        this.averageRate = averageRate;
        this.wholeParkerCount = wholeParkerCount;
        this.leftParkerCount = leftParkerCount;
        this.maxiumRate = maxiumRate;
    }

    @Override
    public String toString() {
        return "ParkExtra{" +
                "parkName='" + parkName + '\'' +
                ", parkAddress='" + parkAddress + '\'' +
                ", parkDistance=" + parkDistance +
                ", averageRate=" + averageRate +
                ", wholeParkerCount=" + wholeParkerCount +
                ", leftParkerCount=" + leftParkerCount +
                ", maxiumRate=" + maxiumRate +
                ", coordinate='" + coordinate + '\'' +
                '}';
    }

    public String getCoordinate() {
        return coordinate;
    }

    public ParkExtra setCoordinate(String coordinate) {
        this.coordinate = coordinate;
        return this;
    }

    public String getParkName() {
        return parkName;
    }

    public ParkExtra setParkName(String parkName) {
        this.parkName = parkName;
        return this;
    }

    public String getParkAddress() {
        return parkAddress;
    }

    public ParkExtra setParkAddress(String parkAddress) {
        this.parkAddress = parkAddress;
        return this;
    }

    public Integer getParkDistance() {
        return parkDistance;
    }

    public ParkExtra setParkDistance(Integer parkDistance) {
        this.parkDistance = parkDistance;
        return this;
    }

    public Integer getAverageRate() {
        return averageRate;
    }

    public ParkExtra setAverageRate(Integer averageRate) {
        this.averageRate = averageRate;
        return this;
    }

    public Integer getWholeParkerCount() {
        return wholeParkerCount;
    }

    public ParkExtra setWholeParkerCount(Integer wholeParkerCount) {
        this.wholeParkerCount = wholeParkerCount;
        return this;
    }

    public Integer getLeftParkerCount() {
        return leftParkerCount;
    }

    public ParkExtra setLeftParkerCount(Integer leftParkerCount) {
        this.leftParkerCount = leftParkerCount;
        return this;
    }

    public Integer getMaxiumRate() {
        return maxiumRate;
    }

    public ParkExtra setMaxiumRate(Integer maxiumRate) {
        this.maxiumRate = maxiumRate;
        return this;
    }
}
